using System;
using System.Collections.Generic;
using System.Text;
using Vj.MathLibrary;

namespace Vj.ParticlesLibrary
{
    public class ParticleEnvironment
    {
        private static ParticleEnvironment instance;

        protected ParticleEnvironment()
        {
            gravity = new Vector(0);
            wind = new Vector(0);
        }

        public static ParticleEnvironment Instance
        {
            get 
            {
                if (ParticleEnvironment.instance == null)
                    ParticleEnvironment.instance = new ParticleEnvironment();
                
                return ParticleEnvironment.instance;
            }
        }
        
        private Vector gravity;

        public Vector Gravity
        {
            get { return gravity; }
            set { gravity = value; }
        }

        private Vector wind;
        
        public Vector Wind
        {
            get { return wind; }
            set { wind = value; }
        }

    
    }
}
